package com.qf.student.dao;

import com.qf.student.entity.Emp;
import org.omg.CORBA.INTERNAL;

import java.util.List;

public interface IEmpDao {

    public int insert(Emp emp);

    public int updateById(Emp emp);

    public Emp selectById(Integer id);

    public int deleteById(Integer id);

    public List<Emp> selectList();

    Emp selectByName(String name);

    void batchDel(List<Integer> empnoList);

    public List<Emp> page(Integer index, Integer size);

    Integer count();
}
